package com.dcits.ftz.dto.in;

import com.dcits.annotation.FieldCheck;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 传输层实体
 *
 * @author kui.liu
 * @since 2025-06-06
 */
@Data
@ApiModel("请求参数")
public class UserIn {
    @ApiModelProperty(value = "登录用户名称", required = true, example = "test_username")
    @FieldCheck(notNull = true, desc = "登录用户名称")
    private String username;
    @ApiModelProperty(value = "登录密码", required = false, example = "******")
    @FieldCheck(notNull = true, desc = "登录密码")
    private String password;

    @ApiModelProperty(value = "用户姓名", required = false, example = "test_name")
    @FieldCheck(notNull = false, desc = "用户姓名", in = "张三,李四")
    private String name;

}
